package com.zhengx.moduletest.di;

import com.zhengx.baselib.di.ForFragment;
import com.zhengx.moduletest.ui.test.FragmentTest;

import dagger.Subcomponent;

/**
 * 注入到BaseFragment的Component
 * Created by zx on 2018/5/15.
 */
@ForFragment
@Subcomponent(modules = {FragmentModule.class})
public interface FragmentComponent {
    @Subcomponent.Builder
    interface Builder {
//        @BindsInstance Builder activity(ClassifyFileBrowserActivity activity);
        FragmentComponent build();
    }

    void inject(FragmentTest baseFragment);
}
